﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;

namespace TestingIoC.Web
{
    public class TestingIocService: ITestingIocService
    {
        public TestingIocService()
        {
            
        }

        public string GetSlowString()
        {
            Random rand = new Random();

            string slowString = "New Number generated: " + rand.Next(10000);
            
            System.Threading.Thread.Sleep(3000);
                      
            return slowString;
        }
    }
}
